getEndDate

abstract fun getEndDate(): Date

Gets the end date for this schedule's validity period.

The schedule is active on or before this date. The time components (hour, minute, second) of this Date object are generally ignored; only the date portion is considered.

Return

A Date representing the last day the schedule can be active. Can be null if there is no specific end date (i.e., valid indefinitely into the future).